home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 142
/
Volume 142 Oct 17 2011 - Damaged.iso
/
Games
/
parasite-x.swf
/
scripts
/
frame_43
/
PlaceObject3_129_57
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2011-10-17
|
478b
|
24 lines
onClipEvent(enterFrame){
if(_root.gamepaused == 1)
{
_root.delay = 0;
}
if(_root.firerate > 5000)
{
_root.firerate = 5000;
}
_root.time1 += 1;
_root.houres += 1;
if(_root.lives <= 0)
{
_root.gotoAndPlay(44);
}
follow(_root.bad._x,_root.bad._y);
if(_root.gamepaused == 0)
{
_X = _X + xmove;
_Y = _Y + ymove;
_rotation = 180 * Math.atan2(ymove,xmove) / 3.141592653589793;
}
}